package com.sysofstudent.dao;

import com.sysofstudent.po.Student;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

public interface StudentRepository extends JpaRepository<Student,Long> {

    Student findByNumberAndPassword(String number,String password);

    Student findByNumber(String number);

    Student findById(long id);


}
